//
//  NSString+DELImageUrlSplic.m
//  LinLiSheQu
//
//  Created by NingNingLuo on 2018/5/10.
//  Copyright © 2018年 KuoShuChing. All rights reserved.
//

#import "NSString+DELImageUrlSplic.h"

@implementation NSString (DELImageUrlSplic)


/**
 * 显示图片的接口拼接和转换
 */
+ (NSString *)appendImageString:(NSString *)appendImageString{
    
    NSString *name = [NSString stringWithFormat:SERVER_URLIMAGE"%@",appendImageString];
    NSString *imageString = [name stringByReplacingOccurrencesOfString:@"\/" withString:@"/"];
    return imageString;
}

/**
 * 显示Html接口拼接和转换
 */
+ (NSString *)appendHtmlString:(NSString *)appendHtmlString{
    
    NSString *name = [NSString stringWithFormat:WEBSERVICESURL"%@",appendHtmlString];
    NSString *imageString = [name stringByReplacingOccurrencesOfString:@"\/" withString:@"/"];
    return imageString;
}
@end
